/*
 * Copyright (c) 2024 Black Sesame Technologies
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

#ifndef _DAL_RET_TYPES_H_
#define _DAL_RET_TYPES_H_

#ifdef __cplusplus
extern "C" {
#endif

typedef enum ReturnCode_e
{
    DAL_RETCODE_OK = 0,
    DAL_RETCODE_ERROR = 1,
    DAL_RETCODE_UNSUPPORTED = 2,
    DAL_RETCODE_BAD_PARAMETER = 3,
    DAL_RETCODE_PRECONDITION_NOT_MET = 4,
    DAL_RETCODE_OUT_OF_RESOURCES = 5,
    DAL_RETCODE_NOT_ENABLED = 6,
    DAL_RETCODE_IMMUTABLE_POLICY = 7,
    DAL_RETCODE_INCONSISTENT_POLICY = 8,
    DAL_RETCODE_ALREADY_DELETED = 9,
    DAL_RETCODE_TIMEOUT = 10,
    DAL_RETCODE_NO_DATA = 11,
    DAL_RETCODE_ILLEGAL_OPERATION = 12,
    DAL_RETCODE_RESERVED = 13
} dal_ret_t;

#ifdef __cplusplus
}
#endif

#endif  // _DAL_RET_TYPES_H_
